Imports System.Xml.Serialization

Namespace CanvasDesigner

    Public Class EntityTypeShape
        Inherits XEntityModelElementBase

        ''' <summary>Initializes an instance of the <see cref="EntityTypeShape" /> class.
        ''' This is the default constructor for this class.</summary>
        Public Sub New()
            MyBase.New("EntityTypeShape", EdmxXmlNamespace)
        End Sub

        ''' <summary>Initializes an instance of the <see cref="EntityTypeShape" /> class.</summary>
        ''' <param name="other">An <see cref="System.Xml.Linq.XElement"/> object to copy from.</param>
        Public Sub New(ByVal other As XElement)
            MyBase.New(other)
        End Sub

        <XmlAttribute()> _
        Public Property EntityType() As String
            Get
                Return Me.@EntityType
            End Get
            Set(ByVal value As String)
                Me.@EntityType = value
            End Set
        End Property

        <XmlAttribute()> _
        Public Property PointX() As Double
            Get
                Return Me.@PointX
            End Get
            Set(ByVal value As Double)
                Me.@PointX = value
            End Set
        End Property

        <XmlAttribute()> _
        Public Property PointY() As Double
            Get
                Return Me.@PointY
            End Get
            Set(ByVal value As Double)
                Me.@PointY = value
            End Set
        End Property

        <XmlAttribute()> _
        Public Property Width() As Double
            Get
                Return Me.@Width
            End Get
            Set(ByVal value As Double)
                Me.@Width = value
            End Set
        End Property

        <XmlAttribute()> _
        Public Property Height() As Double
            Get
                Return Me.@Height
            End Get
            Set(ByVal value As Double)
                Me.@Height = value
            End Set
        End Property

        <XmlAttribute()> _
        Public Property IsExpanded() As Boolean
            Get
                Return Me.@IsExpanded
            End Get
            Set(ByVal value As Boolean)
                Me.@IsExpanded = value
            End Set
        End Property

    End Class

End Namespace